package com.dingding.study.service.事件发布机制;

/**
 * @program: spring-learning
 * @description:
 * @author: liugongding
 * @create: 2021-09-10 11:57
 **/
public class Event {

    private String message;

    private Object object;

    public Event(String message, Object o){
        this.message = message;
        this.object = o;
    }

    public String getMessage() {
        return message;
    }

    public Object getObject(){
        return this.object;
    }
}
